<%--
  - Author		:	이 영호(Youngho Lee)
  - Date			:	2012.07.05
  - Description	:	
  --%>
<%@ page language="java" %>
<%@ page contentType="text/html; charset=utf-8" %>
<%@ page pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/pages/includes/taglibs.jspf" %>
<%@ include file="/WEB-INF/pages/includes/variables.jspf" %>
<%@ include file="/WEB-INF/pages/includes/doctype.jspf" %>
<html>
	<head>
<%@ include file="/WEB-INF/pages/includes/metatags.jspf" %>
		<title><fmt:message key="pages.title" /></title>
		<link rel="stylesheet" type="text/css" href="<c:url value="${dirStyles}/common.css" />" />
		<link rel="stylesheet" type="text/css" href="<c:url value="${dirScripts}/jqueryUi/css/ui-lightness/jquery-ui-1.8.21.custom.css" />" />

		<script type="text/javascript" src="<c:url value="${dirScripts}/jquery-1.7.2.min.js" />"></script>
		<script type="text/javascript" src="<c:url value="${dirScripts}/jquery-ui-1.8.21.custom.min.js" />"></script>
		<script type="text/javascript">
			$(function() {
				<c:choose>
					<c:when test="${param.fAct eq 'modify'}">
						alert("재검증 신청이 완료되었습니다.");
						document.frm.action="<c:url value="/result/detail.do" />";
						document.frm.submit();
					</c:when>
					<c:when test="${vertification.type eq 1}">
						document.frm.action="<c:url value="/request/applet.do" />";
						document.frm.submit();
					</c:when>
					<c:when test="${vertification.type eq 2}">
						document.frm.action="<c:url value="/request/pay.do" />";
						document.frm.submit();
					</c:when>
					<c:otherwise>
						alert("올바르지 않은 접근입니다. 다시 시도하여 주십시오");
						location.href="<c:url value="/request/applet.do" />";
					</c:otherwise>
				</c:choose>
			});
		</script>
	</head>
	<body>
		<form name="frm" action="" method="post" style="display: none;">
			<input type="hidden" name="fAct" value="${param.fAct}">
			<input type="hidden" name="idx" value="${vertification.idx}">
		</form>
	</body>
</html> 